package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.YltpUser;
import ylsb.model.YltpUserExample;

public interface YltpUserMapper {

    List<Map<String, Object>> findRenyuanByisvalid(@Param("username") String mmUsername,@Param("startindex") int mmStartIndex, @Param("pagesize") int mmPageSize);

    Object getCountByisvalid(@Param("username") String mmUsername);

    int countByExample(YltpUserExample example);

    int deleteByExample(YltpUserExample example);

    int deleteByPrimaryKey(String userid);

    int insert(YltpUser record);

    int insertSelective(YltpUser record);

    List<YltpUser> selectByExample(YltpUserExample example);

    YltpUser selectByPrimaryKey(String userid);

    int updateByExampleSelective(@Param("record") YltpUser record, @Param("example") YltpUserExample example);

    int updateByExample(@Param("record") YltpUser record, @Param("example") YltpUserExample example);

    int updateByPrimaryKeySelective(YltpUser record);

    int updateByPrimaryKey(YltpUser record);
}